const getters = {
  getStorage (state) {
    if (state.user.name === '') {
      state.user = JSON.parse(window.sessionStorage.getItem('user'))
    }
    return state.user
  }
}
export default getters
